<?php

declare (strict_types=1);
namespace App\Model;

/**
 * @property int $id
 * @property string $topic
 * @property string $data
 * @property int $deviceId
 * @property int $isSend
 * @property \Carbon\Carbon $createdAt
 * @property \Carbon\Carbon $updatedAt
 */
class DevicePublish extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'device_publish';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $guarded = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'result' => 'json'];
}
